widget: Don't override state data when recursing to children
authorBenjamin Otte <otte@redhat.com>
Thu, 17 Mar 2011 15:45:19 +0000 (16:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 17 Mar 2011 15:47:48 +0000 (16:47 +0100)
commit58f0bc62a9015911e22784daf4144cd03b021f97
tree05c230422329f5882fdab6e01e65b92b584891ba
parent261bcb1ed88b7f4fa4c1870b2eacd1ff53dbb20f
widget: Don't override state data when recursing to children

Writing onto the passed-in GtkStateData could cause changes that would
propagate to siblings, as the data was not reset again.
By copying the data structure, this is avoided and the proper values are
passed to sibling widgets.
gtk/gtkwidget.c